/*
 * Copyright (c) 2020, 2025, keyila All rights reserved.
 *
 */
package com.clp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @author clp
 * @version 1.0
 */
@SpringBootApplication(scanBasePackages = "com.clp")
@MapperScan(value = "com.clp.*.mapper")
@EnableConfigurationProperties
@EnableCaching
public class UserApplication {
    public static void main(String[] args) {
        System.setProperty("Log4jContextSelector", "org.apache.logging.log4j.core.async.AsyncLoggerContextSelector");
        SpringApplication.run(UserApplication.class,args);
    }
}
